Skip to main content

icon

Type

property

Summary

The name of an SVG icon, which is displayed as an icon when the button is in its normal state.

Syntax

set the icon of widget to <IconName>
get the icon of widget

Description

Use the icon property to specify the name of an SVG icon, which is displayed as an icon when the button is in its normal state.

The icon property is ignored when iconPath property is set

Examples

set the icon of widget "Button" to "star empty"

Compatibility and Support

OS

mac

windows

linux

ios

android

web

Platforms

desktop

mobile